package com.corner.system.mapper;

import com.corner.system.domain.Device;
import com.corner.system.domain.IoTData_1;
import com.corner.system.domain.Subsidy;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 用户设备信息
 * 
 * @author corner
 */
public interface IoTData_1Mapper
{


    public List<Map> getDataAndMonthOld(@Param("deviceId") String deviceId, @Param("selectCount") String selectCount);

    /**
     * 根据年份月份查询设备数据
     * @param deviceId
     * @param settlementYear
     * @param settlementMonth
     * @return
     */
    public Map getDataByYearAndMonth(@Param("deviceId") String deviceId,
                                         @Param("settlementYear") String settlementYear,
                                         @Param("settlementMonth") String settlementMonth);


    public List<Map> getDataAndMonth(@Param("yearmonths")List yearmonths,@Param("deviceId") String deviceId);



}
